package com.example.inter.tourdemo.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.inter.tourdemo.R;

import java.util.ArrayList;

/**
 * 我的 垂直列表 适配器
 * @author zhaoyu
 * @date 2017/2/12.
 */

public class MeAdapterLinear extends BaseQuickAdapter<String, BaseViewHolder> {

    public MeAdapterLinear(int layoutResId, ArrayList data) {
        super(layoutResId, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_left_name,item);
    }
}
